package com.bwie.bargain.dao;

import com.bwie.bargain.entity.BargainEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bwie.bargain.vo.BargainVo;
import com.bwie.bargain.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 * 
 * @author HouDing
 * @email 1398853436@qq.com
 * @date 2022-03-09 20:02:51
 */
@Mapper
public interface BargainDao extends BaseMapper<BargainEntity> {

    List<BargainVo> barginList();

    BargainVo findByBargainId(Long bargainId);


    UserVo findByUserId(Long userId);
}
